get /cloud/credentials

Lists Cloud Credentials (getCredentials)

Lists the Saved Cloud Credentials.

Consumes

This API call consumes the following media types via the Content-Type request header:

  • application/json

Return type

array[CredentialsDescription]

id (optional)

CredentialsId

value (optional)

String Entity ID

_type

String Credentials ID

Enum:

CredentialsId

 

cloudProvider (optional)

CloudProvider (optional)

Cloud provider - AWS, Azure, or Gcp

operationLinks (optional)

OperationLink

List of Links to CE Operations

OperationLinks

array[OperationLink] (optional)

 

 

Example data

Content-Type: application/json

[

{

"id": {

"value": "credId1",

"_type": "CredentialsId"

},

"cloudProvider": "Aws",

"OperationLinks" : [ {

"rel: "describe","

"href: "/velostrata/api/v35/credentials/credId1"

"httpVerb: "GET"

},

{

"rel: "delete","

"href: "/velostrata/api/v35/credentials/credId1"

"httpVerb: "DELETE"

},

{

"rel: "reconfigure","

"href: "href: "/velostrata/api/v35/credentials/credId1"

"httpVerb: "PUT"

}

} ]

},

{

"id": {

"value": "credId2",

"_type": "CredentialsId"

},

"cloudProvider": "Aws"

"OperationLinks" : [ {

"rel: "describe","

"href: "/velostrata/api/v35/credentials/credId2"

"httpVerb: "GET"

},

{

"rel: "delete","

"href: "/velostrata/api/v35/credentials/credId2"

"httpVerb: "DELETE"

},

{

"rel: "reconfigure","

"href: "href: "/velostrata/api/v35/credentials/credId2"

"httpVerb: "PUT"

}

} ]

}

]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

  • application/json

Responses

200

OK

Default

Error ErrorInfo

errorCode (optional)

String

url(optional)

String

message (optional)

String